package com.aku.entity;

import java.util.Date;

public class Emp {
    private Integer id;
    private String name;
    private int age;
    private Date entry_time;
    private String door_name;
    private int emp_call;

    public Emp() {
    }

    public Emp(Integer id, String name, int age, Date entry_time, String door_name, int emp_call) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.entry_time = entry_time;
        this.door_name = door_name;
        this.emp_call = emp_call;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getEntry_time() {
        return entry_time;
    }

    public void setEntry_time(Date entry_time) {
        this.entry_time = entry_time;
    }

    public String getDoor_name() {
        return door_name;
    }

    public void setDoor_name(String door_name) {
        this.door_name = door_name;
    }

    public int getEmp_call() {
        return emp_call;
    }

    public void setEmp_call(int emp_call) {
        this.emp_call = emp_call;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", entry_time=" + entry_time +
                ", door_name='" + door_name + '\'' +
                ", emp_call=" + emp_call +
                '}';
    }
}
